package com.flysh.host.dao;

import java.util.List;

import com.flysh.host.model.User;

public interface UserDao {
	
	User login(User user);
	
	
	int remove(Long id);
	
	int add(User user);
	
	int update(Long id,User newUser);
	
	User getUser(Long id);
	
	List<User> getAllUser();

}
